<extend name="./Public/layout.html" />
<block name="main">

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <!-- left column -->
               
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title"></h3>
                        </div><!-- /.box-header -->
                        <!-- form start -->
                        <form role="form" action="{:U('Feature/updFea')}" method="post">

                            <div class="box-body">
                            <volist name="data" id="vo">
                            <input type="hidden" name='id' value="{$vo.id}">
                                <div class="form-group">
                                    <label for="exampleInputEmail1">名称</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" name="name" value="{$vo.name}">
                                </div>
                                <div class="form-group">
                                <label>推荐景点:</label>
                                <div class="input-group">
                                        <select name="recommend">  
                                              <option value="{$vo.recommend}">{$vo.recommend}</option>  
                                           
                                    <option value="不推荐">不推荐</option> 
                                    <option value="推荐">推荐</option> 
  
                                        </select>
                                    
                                       
                                </div>
                                

                                <div class="form-group">
                                    <label for="exampleInputPassword1">介绍</label>
                      
                                    <textarea class="form-control" name="introduce" cols="30" rows="4">
                                    {$vo.introduce}
                                    </textarea>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">景点缩略图</label>
                                    <br />
                                    <img src="__ROOT__/Uploads/{$vo.img}" alt="">
                                    <input type="file" class="form-control" id="exampleInputEmail1" name="image" value="">
                                </div>
                           </volist>
                            </div><!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">修改</button>
                            </div>
                        </form>
                    </div><!-- /.box -->

                   
                    




              
            </div>   <!-- /.row -->
        </section><!-- /.content -->
</block>